<?php
	class OrdersModel extends RelationModel{
		protected $tableName = 'orders';
		protected $_link = array(
			'cars'	=>  array(
				'mapping_type' =>  BELONGS_TO,
				'foreign_key'  =>  'emp_id',
				'mapping_fields' => 'emp_id,empname,emp_pic,orders,score,phone'
			)
		);
	
	}